#include <iostream>
#include <framework.h>
#ifdef  _WIN32
    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,int nCmdShow)
#else
    int main(int argc, char* argv[])
#endif
{
#if !defined(_WIN32) && !defined(_LINUX_DBG)
    if (fork() == 0)
    {
#endif
    
    return GET_FRAMEWORK_MGR->waitExit();

#if !defined(_WIN32) && !defined(_LINUX_DBG)
    }
#endif
}
